import { get, post } from "@/utils/request";

export async function remove(id: number) {
  const res = await post("/snapshot/remove", { id });
  return res.json();
}

export async function query(params: any) {
  const res = await get("/snapshot/query", params);
  return res.json();
}
